Setting only the _title
property to set the page title tag was not enough in my case.
Overriding the title_callback
property did the trick :-)
$title = 'something';
$route = \Drupal::routeMatch()->getCurrentRouteMatch()->getRouteObject();
$route->setDefault('_title_callback', function() use ($title) {
return $title;
});