Legal restrictions on "Engineer" as a job title are in some ways like laws requiring interior designers or casket salesmen to be accredited by industry groups -- motivated by a desire to squelch competition. On the other hand, most engineering accreditation groups also put a strong emphasis on ethics: For example, someone who is a member of one of those groups has an obligation to keep the public interest in mind as they design objects or processes, and to push back (or report to the authorities) efforts to cut corners in ways that harm safety. There is also usually an effort to provide workplace mentoring so that new graduates are paired with someone who has more experience with the more practical (and less schoolbook-related) challenges of the work.
As a software developer (and sometimes engineer) who has worked on systems that involve mechanical, electrical, software and systems engineering, I try to restrict "software engineering" to projects that involve careful and informed analysis of trade-offs to meet specified goals, planning and managing the development cycle (from requirements analysis and derivation through programming, integration, testing against the requirements and testing against the user's need, and delivery), and then carrying through with something that more or less resembles the plan. If a project is less rigorous, I prefer to call it just software development.
In my experience, the usual areas where a project fails to qualify as "software engineering" are the analysis (most common), testing (sadly common) and requirements (less common). That isn't necessarily a bad thing -- for example, time to market or budget might be more important than delivering a well-understood product with known high quality. On the other hand, a project with a foreseeable impact on people's health or safety is a project that needs analysis, planning and testing that are proportionate to the risks. Because they do not directly help build a deliverable product, analysis, requirements and testing seldom get the attention or credit they deserve.