You can not override internal classes:
ez_datetime.php
<?php
namespace eZ;
class DateTime
{
}
?>
test.php
<?php
require 'ez_datetime.php';
use eZ::DateTime;
?>
Displays:
Fatal error: Cannot use eZ::DateTime as DateTime because the
name is already in use in /tmp/test.php on line 4